﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dragon.Prototype1.Infrastructure
{
    public static class Util
    {
        public static bool GetCheckBoxValue(string strValue)
        {
            if (strValue == null)
                return false;

            if (strValue.Equals("on", StringComparison.InvariantCultureIgnoreCase))
            {
                return true;
            }
            else
            {
                return false;
            }
        }
    }
}
